Lists

HTML offers web authors three ways for specifying lists of information. All lists must contain one or more list elements. Lists are defined by the <li> tag.



Unordered List


An unordered list is a bulleted list of related items that have no special order or sequence. This list is created by using HTML <ul> tag.


Different bullet styles like square,circle or dot, can be defined for unordered lists.



Ordered List


An ordered list is a numbered list defined by the <ol> tag.




Attributes of <ol>

type attribute

Sets the numbering type. 1 is default.


a can be used for lowercase numbering, A for uppercase, i for lowercase Roman numerals and I for uppercase


start attribute

Specifies where to start the numbering in a list